package com.example.service;

import com.example.pojo.Comment;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface UserCommentService {
    int deleteByPrimaryKey(Integer id);

    int insert(Comment record);

    int insertSelective(Comment record);

    Comment selectByPrimaryKey(Integer id);
    List<Comment> SelectArticleComments( Integer articleId);

    int updateByPrimaryKeySelective(Comment record);

    int updateByPrimaryKey(Comment record);
}
